#ifndef _SHELL_AREAFIGHTLOG_BEAN_H_
#define _SHELL_AREAFIGHTLOG_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class AreaFightLog : public Bean
{
	public:
	AreaFightLog();
	~AreaFightLog();
	void reset();
	AreaFightLog* clone();
	//1个人.2.门派
	int8 type;
	//日志编号
	int64 fightLogNum;
	//挑战者名称
	string toPlayerName;
	//是否胜利0否1是
	int8 isVictor;
	//时间
	int64 createTime;
	//获得名次0标示不变
	int32 place;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
